﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Classes;

namespace FlightSystemDBLayer
{
    public interface IFlight
    {
        IList<Flight> GetFlights();
       // Flight CreateFlight(int cityFromID, int cityToID, string company, int noOfSeats, int id);
        Flight CreateFlight(int cityFromID, int cityToID, string company, int noOfSeats, int id, DateTime departure, DateTime arrival, int price);
        IList<Flight> GetSpecifiedFlights(int noOfSeats, DateTime departureTime, DateTime departureEndTime, City destination);
        //Flight FindFlightByID(int idFlight);
    }

}
